with open("Walden.txt",mode="r+",encoding='utf-8') as eassy:
    rawtext=eassy.read()
    text=''.join(w if w.isalpha() else ' ' for w in rawtext).lower()
    wordlist=text.split()
    wordset=set(wordlist)
    for i in wordset:
        times=wordlist.count(i)
        print("'{0}':{1}".format(i,times))